export default (controller: any) => ({
    'post /commodity': controller.commodity.create,
    'put /commodity': controller.commodity.update,
    'delete /commodity': controller.commodity.remove,
    'get /commoditys': controller.commodity.find,
    'get /commodity': controller.commodity.findById,
    'get /user/findByUser': controller.commodity.findById,
});